package com.hisan.freeride.home.model;


import com.hisan.freeride.common.model.BaseModel;

import java.io.Serializable;

/**
 * 创建时间 : 2017/6/19
 * 创建人：yangyingqi
 * 公司：嘉善和盛网络有限公司
 * 备注：爱心车主个人页面模板
 */
public class Driverinfo extends BaseModel {

    /**
     * id : 87
     * avatar : http://wx.qlogo.cn/mmhead/wJibWkqN1bUMHJC4avgAP6sWGuJicmoBBXEvx3hGuyDoSzshrZRa4n9A/0
     * sex : 女
     * birthday : 1970-01-01
     * score : 0
     * signature : 这个家伙很懒
     * device_id : 2
     * is_realname : 0
     * is_driver : 1
     * level : {"id":1,"name":"普通会员","image":null}
     * realname : 朱根荣
     * experience : 10
     */

    private int id;
    private String avatar;
    private String sex;
    private String birthday;
    private int score;
    private String signature;
    private int device_id;
    private int is_realname;
    private int is_driver;
    private LevelBean level;
    private String realname;
    private double experience;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public int getDevice_id() {
        return device_id;
    }

    public void setDevice_id(int device_id) {
        this.device_id = device_id;
    }

    public int getIs_realname() {
        return is_realname;
    }

    public void setIs_realname(int is_realname) {
        this.is_realname = is_realname;
    }

    public int getIs_driver() {
        return is_driver;
    }

    public void setIs_driver(int is_driver) {
        this.is_driver = is_driver;
    }

    public LevelBean getLevel() {
        return level;
    }

    public void setLevel(LevelBean level) {
        this.level = level;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public double getExperience() {
        return experience;
    }

    public void setExperience(double experience) {
        this.experience = experience;
    }

    public static class LevelBean implements Serializable {
        /**
         * id : 1
         * name : 普通会员
         * image : null
         */

        private int id;
        private String name;
        private Object image;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getImage() {
            return image;
        }

        public void setImage(Object image) {
            this.image = image;
        }
    }
}
